//
//  HCCallInfoViewController.m
//  HelloCall
//
//  Created by WangYongpeng on 13-9-21.
//  Copyright (c) 2013年 HC. All rights reserved.
//

#import "HCComDetailViewController.h"


@interface HCComDetailViewController ()

@property (nonatomic, retain) UITextView* textView;

@end

@implementation HCComDetailViewController

@synthesize textView = m_textView;

- (id)init
{
    self = [super init];
    if (nil != self)
    {
        self.view.backgroundColor = [UIColor clearColor];
        
        self.textView = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, [[UIScreen mainScreen] bounds].size.width, [[UIScreen mainScreen] bounds].size.height - 80)];
        self.textView.textColor = [UIColor blackColor];
        self.textView.editable = NO;
        self.textView.backgroundColor = [UIColor whiteColor];
        [self.view addSubview:self.textView];
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc
{
    self.textView = nil;
    
    [super dealloc];
}

- (void)setDetailText:(NSString*)text
{
    self.textView.text = text;
}

@end
